package com.yaodian100.ec.member.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.yaodian100.core.common.entity.BaseEntity;

@Entity
@Table(name = "EC_MEMBER_PROFILE")
public class MemberProfile extends BaseEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4614673888742094128L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "seq_ec_member_profile")
	@SequenceGenerator(name = "seq_ec_member_profile", sequenceName = "SEQ_EC_MEMBER_PROFILE")
	@Column(name = "ID")
	private Long id;

	/**
	 * 會員編號
	 */
	@Column(name = "MEMBER_ID", nullable = false, length = 10)
	private String memberId;

	@Column(name = "MARRIED", length = 3)
	private String married;

	@Column(name = "EDU", length = 3)
	private String edu;

	@Column(name = "HEIGHT", length = 3)
	private String height;

	@Column(name = "WEIGHT", length = 3)
	private String weight;

	@Column(name = "WORK", length = 3)
	private String work;

	@Column(name = "WORK_TYPE", length = 3)
	private String workType;

	@Column(name = "SHOES_SIZE", length = 3)
	private String shoesSize;

	@Column(name = "SALARY", length = 3)
	private String salary;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getMarried() {
		return married;
	}

	public void setMarried(String married) {
		this.married = married;
	}

	public String getEdu() {
		return edu;
	}

	public void setEdu(String edu) {
		this.edu = edu;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getWork() {
		return work;
	}

	public void setWork(String work) {
		this.work = work;
	}

	public String getWorkType() {
		return workType;
	}

	public void setWorkType(String workType) {
		this.workType = workType;
	}

	public String getShoesSize() {
		return shoesSize;
	}

	public void setShoesSize(String shoesSize) {
		this.shoesSize = shoesSize;
	}

	public String getSalary() {
		return salary;
	}

	public void setSalary(String salary) {
		this.salary = salary;
	}
}